<script setup lang="ts">
// 1:下载插件  yarn add socket.io-client
// 2:导入
import { io } from 'socket.io-client'
// 3:连接服务器
const socket = io('ws://119.91.150.211:1235')
socket.on('connect', () => {
  console.log('连接成功')
})
</script>

<template>
  <div class="app-page">app</div>
</template>

<style lang="scss" scoped></style>
